#ifndef HISTORYWIDGET_H
#define HISTORYWIDGET_H

#include <QWidget>
class historyitemmodel;
namespace Ui {
class historywidget;
}
class historyitemwidget;
class historywidget : public QWidget
{
    Q_OBJECT

public:
    explicit historywidget(QWidget *parent = nullptr);
    ~historywidget();

private:
    Ui::historywidget *ui;
    void showHistory();
    void deleteFromHistory(historyitemwidget *widget);
private slots:
    void openfolder();
    void deleteAllItems();
};

#endif // HISTORYWIDGET_H
